package cn.iocoder.yudao.module.dbit.controller.admin.jobinfo.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.*;
import org.springframework.format.annotation.DateTimeFormat;

import java.time.LocalDate;
import java.util.*;
import javax.validation.constraints.*;

@Schema(description = "管理后台 - 企业职位信息新增/修改 Request VO")
@Data
public class JobInfoSaveReqVO {
    @Schema(description = "企业职位信息id", example = "1")
    private Integer jobId;

    @Schema(description = "招聘title", example = "芋艿")
    private String jobName;

    @Schema(description = "1:实习，2：社招 dic字段job_type", example = "1")
    private Integer jobType;

    @Schema(description = "岗位职责")
    private String jobDuty;

    @Schema(description = "岗位要求")
    private String jobAsk;

    @Schema(description = "最低薪资")
    private Long salaryRangeFrom;

    @Schema(description = "最高薪资")
    private Long salaryRangeTo;

    @Schema(description = "薪资月数，13薪")
    private Integer salaryMonth;

    @Schema(description = "1:是， 2：否")
    private Integer salaryMeet;

    @Schema(description = "工作城市, 用’;‘隔开")
    private String jobCity;

    @Schema(description = "1:专科及以上，2 本科及以上3.研究生以上3.不限-数据字典job_require_edu")
    private Integer jobRequireEdu;

    @Schema(description = "%y-%M-%d投递截止实践")
    // 设置时区
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
    private LocalDate jobEndDay;

}